<?php
$this->breadcrumbs=array(
	'Events',
);

$this->menu=array(
	array('label'=>'Create Event', 'url'=>array('create')),
	array('label'=>'Manage Event', 'url'=>array('admin')),
);
?>
<div class="main-box border-line">
    <div class="main-title">
        <span>View Events</span>
    </div>
    <div class="main-content">
<?php
	if(isset($model))
    {
        echo "<h3 class=\"title-bg\">List Events by ".$model."</h3>";
    }
    else
    {
        echo "<h3 class=\"title-bg\">List All Events</h3>";
    }
?>
<?php $event_list = $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
    'summaryText'=>Yii::t('zii','Hiển thị {start}-{end} trên {count} kết quả.'),
    'emptyText'=>'No events',
    'template'=>'{summary} {sorter} {items} {pager}', //template
    'pager'=>array(
        'header'=>'',//text before it
    )
)); ?>
    </div>
</div>